
package com.lagou.edu.factory.annotaion;


import java.lang.annotation.*;


@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Transactional {

	String value() default "";

	String transactionManager() default "";


	boolean readOnly() default false;

	Class<? extends Throwable>[] rollbackFor() default {};


	String[] rollbackForClassName() default {};


	Class<? extends Throwable>[] noRollbackFor() default {};

	String[] noRollbackForClassName() default {};

}
